.api-doc-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.api-section {
    margin-bottom: 30px;
}

.api-section h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.api-details {
    padding-left: 20px;
}

.api-details p {
    margin: 10px 0;
    line-height: 1.6;
}

.code-block {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    color: #2c3e50;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.api-table th,
.api-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.api-table th {
    background: #f8f9fa;
    font-weight: 500;
}

.api-table tr:nth-child(even) {
    background: #f8f9fa;
}

.api-table tr:hover {
    background: #f1f3f5;
}

@media (max-width: 768px) {
    .api-doc-container {
        padding: 15px;
    }

    .api-table {
        display: block;
        overflow-x: auto;
    }
} 